package fr.playsoft.psas;

import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;

public class CarrouselBottomDetail extends Activity {
    
	public static final String mServiceL2ArrTitle[] = {
		"Actualites",
		"Agenda",
		"Culture",
		"Emploi",
		"Families",
		"Jeunes"
	};
	
	public static final int mServiceL2ArrDesc[] = {
		R.string.str_lorem1,
		R.string.str_lorem2,
		R.string.str_lorem3,
		R.string.str_lorem4,
		R.string.str_lorem5,
		R.string.str_lorem6
	};
	
	/** Called when the activity is first created. */
	public void onCreate(Bundle icicle) {
		super.onCreate(icicle);
				
		setContentView(R.layout.carrousel_bottom_detail);
		
		int comeFrom = getIntent().getIntExtra("carrouselID", 0);
		
		TextView tv1 = (TextView) findViewById(R.id.carrousel_bottom_detail_tv1);
		TextView tv2 = (TextView) findViewById(R.id.carrousel_bottom_detail_tv2);
		
		tv1.setText(mServiceL2ArrTitle[comeFrom]);
		tv2.setText(mServiceL2ArrDesc[comeFrom]);
	}
	
}